package com.upay.android.domain.group;

import java.io.Serializable;

public class Group implements Serializable {

	/* ---- Constants ---- */
	private static final long serialVersionUID = 201203032116L;
	public static final String GROUP_ID = "group_id";
	
	
	/* ---- Instance Variables ----*/

	private Long id = null;
	private String name = null;
	private String description = null;
	private GroupPolicy groupPolicy = null;
	
	/* ---- Constructors ---- */
	
	public Group() {
		super();
	}
	
	public Group(Long id, String name, String description) {
		this.id = id;
		this.name = name;
		this.description = description;
	}

	public Group(Long id, String name, String description, GroupPolicy groupPolicy) {
		this(id, name, description);
		this.groupPolicy = groupPolicy;
	}
	
	/* ---- Getters and Setters ----*/
	
	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}


	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}


	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}


	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}


	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return the groupPolicy
	 */
	public GroupPolicy getGroupPolicy() {
		return groupPolicy;
	}

	/**
	 * @param groupPolicy the groupPolicy to set
	 */
	public void setGroupPolicy(GroupPolicy groupPolicy) {
		this.groupPolicy = groupPolicy;
	}	
	
}
